home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
boot
/
czesc_2
/
wiconify
/
wutilities.lzh
/
wIconifyScreen
/
wIconifyScreen.doc
< prev
next >
Wrap
Text File
|
1991-04-19
|
3KB
|
88 lines
OVERVIEW:
wIconifyScreen is a companion program to wIconify. It allows you to to
request (from the CLI) that a screen be iconified, and also allows you to
specify the icon's new position and some flags that control its functions
within wIconify. It is intended mainly for use within the Startup-Sequence
and in EXECUTE scripts.
HOW TO USE WICONIFYSCREEN:
To use wIconifyScreen, you must have wIconify running. To iconify a screen,
simply type
1> wIconifyScreen [screen]
where [screen] is the name of the screen to iconify. If the screen is not
already iconified, and if it is able to be iconified, it will be replaced by
an icon toward the bottom on the Workbench screen. If the screen is already
iconified, it will be restored and its icon removed.
If the screen name contains a space, enclose it in quotation marks, as in
the example below:
1> wIconifyScreen "Test Screen"
If you do not give a screen name, the currently active screen is assumed.
To specify the position of the icon, add 'AT x,y' to the commmand, where x
and y are the position (in pixels) from the upper left-hand corner of the
Workbench screen where you want the icon to appear. wIconify will place the
icon as close to this position as possible, without interfering with other
icons.
1> wIconifyScreen MicroEMACS AT 50,100
would iconify the EMACS screen and place the icon at 50 pixels from the
left of the Workbench screen and 100 pixels down from the top of the screen.
If you do not specify a position, the first available position will be used.
You must not put space around the comma when you specify a position. Thus
'10 ,20' '45, 110' and '55 , 75' are all illegal position, while '300,50' is
acceptable.
You can also supply a number of flags that alter the way wIconify treats the
screen's icon. These include:
NOSAVEPOS Don't save the icons possition after it is openned
NOMOVE Don't allow the icon to be dragged from its current position
NOORGANIZE ORGANIZE and CLEANUP will not affect this icon
LOCKED Don't allow the icon's position to change at all
NOMULTISELECT Don't allow other icons to be selected together with
this one
You can plas a minus sign (-) in front of any of these flags; this will case
the given attribute to be removed from the icon. For example, -NOMOVE
would remove the NOMOVE attribute, hence the icon would become moveable.
If you supply any of these flags, they will remain in effect until you close
the screen, or until you issue another wIconifyScreen command for the given
screen that changes the settings of the flags. The default is to change none
of these flags.
TECHNICAL NOTES:
You may not iconify the Workbench screen itself, since this is where the
screen icons appear.
When a screen is iconified, its memory is still in use, so it does not save
any memory to iconify a screen. It is simply a visual aid to help you
organize your screens.
The way that screen iconification works is that wIconify simply moves the
screen vertically so that it is off the bottom of the display area. This is
not prohibited by Intuition, but may not be completely acceptable, either.
If you experience problems with iconified screens, it may be best not to
iconify them.
AUTHOR:
Davide P. Cervone
Mathematics Department
Brown University
Providence, Rhode Island 02912
ST402523@BROWNVM